/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.poll.factor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hopes.bizz.poll.factor.entity.PollDisplayFactorEntity;
import com.hopes.bizz.poll.factor.entity.PollFactorInfoEntity;

import java.util.List;

/**
 * 数据展示因子
 *
 * @author ljh
 * @date 2023-05-22 10:00:56
 */
public interface PollDisplayFactorService extends IService<PollDisplayFactorEntity> {
    // 根据监控点类型获取展示因子
    List<PollFactorInfoEntity> getByMonitorType(String monitorType);

    // 获取展示展示因子
    List<PollFactorInfoEntity> getDisplayFactorByMonitorType(String monitorType);

    /**
     * 通过站点大类获取展示因子
     * @param monitorTypeMain
     * @return
     */
    List<PollFactorInfoEntity> getByMonitorTypeMain(Integer monitorTypeMain);
}
